package ch.sfug.player{

	import ch.sfug.player.IPlaylist;

	public interface IPlaylistNavigator {
		/**
		* current playlist
		*/
		function get playlist():IPlaylist;
		/** @private */
		function set playlist(newValue:IPlaylist):void;


		/**
		* goto next
		*/
		function next():void;

		/**
		* goto previews
		*/
		function prev():void;

		/**
		* has a next element
		* @return	
		*/
		function hasNext():Boolean;

		/**
		* has a previews element
		* @return	
		*/
		function hasPrev():Boolean;

		/**
		* goto a specified track in playlist
		* @param	n	playlist position
		*/
		function goto(n:int):void;

	}

}

